<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="EN" lang="EN" dir="ltr">
<head profile="http://gmpg.org/xfn/11">
<title>CIL |  MailToCrm</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="imagetoolbar" content="no" />
<link rel="stylesheet" href="styles/layout.css" type="text/css" />
</head>
<body id="top">
<div class="wrapper row1">
  <div id="header" class="clear">
    <div class="fl_left">
      <h1><a href="index.jsp">Cloud Information Logistics</a></h1>
      <p>MailToCRM</p>
    </div>
  </div>
</div>
<!-- ####################################################################################################### -->
<div class="wrapper row2">
  <div class="rnd">
    <!-- ###### -->
    <div id="topnav">
      <ul>
        <li><a href="index.jsp">Search</a></li>
      </ul>
    </div>
    <!-- ###### -->
  </div>
</div>
<!-- ####################################################################################################### -->
<div class="wrapper row3">
  <div class="rnd">
    <div id="container" class="clear">
      <!-- ####################################################################################################### -->
      <h1>Search your mails and transfer them to your CRM-System</h1>
		<div class="imgholder"><img src="images/crmLogo.png" alt="" /></div>
		
		<div>
      <p>Transfer your mails</p>
      <ol>
        <li>Suchbegriffe eingeben</li>
        <li>Suchverknüpfungen</li>
      </ol>
       </div>
      <form action="target.jsp" method="post">
     
	<h2>Mail Account</h2>

	<table>
	<colgroup>
	    <col width="20">
	    <col width="100">
	</colgroup>
		<tr>
		<td>Enter your username </td><td><input type="text" name="username" value="cilmail2crm@gmail.com" size="40"></input></td>
		</tr>
		<tr>
		<td>Enter your password </td><td><input type="password" name="password" value="mail2crm" size="40"></input></td>
		</tr>
		<tr>
		<td>Enter your hostname </td><td><input type="text" name="hostname" value="imap.gmail.com" size="40"></input></td>
		</tr>
		<tr>
		<td>Enter your hosttype </td><td><input type="text" name="hosttype" value="imap" size="40"></input></td>
		</tr>
		</tr><tr></tr>
			<tr><td>SSL</td><td><input type="checkbox" name="ssl" value="true">use SSL<br></td></tr>
		</table> 
		
		<h2>CRM-System</h2>
		<table>
			<tr>
				<td>
				<input type="radio" name="CRMSystem" value="CASPIA"> CAS Pia<br>
				</td>
			</tr>
		</table>
		
		<h2>Mail-System</h2>
		<table>
			<tr>
				<td>
				<input type="radio" name="MailSystem" value="GMAIL_10000">Gmail 10000<br>
				<input type="radio" name="MailSystem" value="GMAIL_1000">Gmail 1000<br>
				<input type="radio" name="MailSystem" value="STRATO">STRATO 1000<br>
				<input type="radio" name="MailSystem" value="DOMAINFACTORY">DomainFactory 10000<br>
				</td>
		</table>
		
		<h2>Search criteria</h2>
		<table>
		<tr>
			<td>
				<select name="searchTerm" style="width: 180px">
					<option value="NONE"></option>
					<option value="FROM" selected="selected">Absender</option>
					<option value="TO">Empfänger</option>
					<option value="CC">Cc</option>
					<option value="MAILBODY">Nachrichteninhalt</option>
					<option value="SUBJECT">Betreff</option>
					<option value="SENTDATE">Gesendet am</option>
					<option value="RECEIVEDDATE">Empfangen am</option>
				</select> 
   			</td>
   			<td><input type="text" name="searchText" size="40" value="google"/></td>
		</tr>
		
		<tr>
			<td>
				<select name="searchTerm" style="width: 180px">
					<option value="NONE"></option>
					<option value="FROM">Absender</option>
					<option value="TO">Empfänger</option>
					<option value="CC">Cc</option>
					<option value="MAILBODY">Nachrichteninhalt</option>
					<option value="SUBJECT">Betreff</option>
					<option value="SENTDATE">Gesendet am</option>
					<option value="RECEIVEDDATE">Empfangen am</option>
				</select> 
   			</td>
   		<td><input type="text" name="searchText" size="40"/></td>
		</tr>
		
   		<tr>
			<td>
				<select name="searchTerm" style="width: 180px">
					<option value="NONE"></option>
					<option value="FROM">Absender</option>
					<option value="TO">Empfänger</option>
					<option value="CC">Cc</option>
					<option value="MAILBODY">Nachrichteninhalt</option>
					<option value="SUBJECT">Betreff</option>
					<option value="SENTDATE">Gesendet am</option>
					<option value="RECEIVEDDATE">Empfangen am</option>
				</select> 
   			</td>
   		<td><input type="text" name="searchText" size="40"/></td>
		</tr>
		<tr>
			<td>
				<input type="radio" name="searchTerm" value="AND">AND</input><br/>
				<input type="radio" name="searchTerm" value="OR">OR</input><br/>
			</td>
			<td><input type="hidden" name="searchText" size="40"/></td>
		</tr>
		<tr>
		<td><input type="submit" name="submit" value="OK" /></td><td></td>
		</tr>
		</table>
	</form>
      <!-- ####################################################################################################### -->
    </div>
  </div>
</div>
<!-- ####################################################################################################### -->

<!-- ####################################################################################################### -->
<div class="wrapper">
  <div id="copyright" class="clear">
    <p class="fl_left">Sebastian Schäpertöns - Elmar Jakobs - Christian Pfeffer </p>
    <p class="fl_right">Template by <a href="http://www.os-templates.com/" title="Free Website Templates">OS Templates</a></p>
  </div>
</div>
</body>
</html>